﻿@using LotteryVoteMVC.Resources.Login
@using LotteryVoteMVC.Resources
@{
    Layout = null;
}
<!DOCTYPE html>
<html>
<head>
    <title>@Login.LoginField</title>
    <script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery-ui-1.8.11.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.cookie.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/Customer/comm.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/Customer/ajaxHelper.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/Customer/loginBase.js")" type="text/javascript"></script>
    <link href="@Url.Content("~/Content/themes/base/jquery.ui.theme.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/comm.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/login1.css")" rel="stylesheet" type="text/css" />
</head>
<body>
    <center>
        <div>
            @using (Html.BeginForm())
            {
                <table>
                    <tr>
                        <th colspan="4" style="height: 50px">
                            @Login.WelcomeString
                        </th>
                    </tr>
                    <tr>
                        <td>
                            @Login.UserNameLabel
                        </td>
                        <td>
                            @Html.TextBox("UserName")
                            @Html.ValidationMessage("UserName")
                        </td>
                        <td>
                            @Login.PasswordLabel
                        </td>
                        <td>
                            @Html.Password("Password")
                            @Html.ValidationMessage("Password")
                        </td>
                    </tr>
                    <tr>
                        <td>
                            @Login.LanguageLabel
                        </td>
                        <td colspan="3">
                            @Html.Partial("Language")
                        </td>
                    </tr>
                    <tr>
                        <td colspan="4" style="height: 40px; text-align: center">
                        </td>
                    </tr>
                </table>
                <pre style="position: relative; top: 250px">
                        <input type="submit" name="submit" class="shadow" id="submit" value="@Resource.Submit" />
                </pre>
            }
        </div>
    </center>
    @Html.Partial("Agreement", LotteryVoteMVC.Models.Role.Guest)
    @Html.Partial("ChangePassword")
</body>
</html>
